﻿@model PeaceBlog.Models.Types.LoginModel
<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <meta content="width=device-width, initial-scale=1.0" name="viewport" />
    <link href="~/Templates/Admin/assets/bootstrap/css/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Templates/Admin/assets/font-awesome/css/font-awesome.css" rel="stylesheet" />
    <link href="~/Templates/Admin/css/style.css" rel="stylesheet" />
    <link href="~/Templates/Admin/css/style_responsive.css" rel="stylesheet" />
    <link href="~/Templates/Admin/css/style_default.css" rel="stylesheet" id="style_color" />
</head>
<!-- END HEAD -->
<!-- BEGIN BODY -->
<body id="login-body">
    <div class="login-header">
        <!-- BEGIN LOGO -->
        <div id="logo" class="center">
            <img src="~/Templates/Admin/img/logo.png" alt="logo" class="center" />
        </div>
        <!-- END LOGO -->
    </div>

    <!-- BEGIN LOGIN -->
    <div id="login">
        <!-- BEGIN LOGIN FORM -->
        @using (Html.BeginForm("Login", "BlogAdmin", FormMethod.Post, new { @class = "form-vertical no-padding no-margin" }))
        {
            <div class="lock">
                <i class="icon-lock"></i>
            </div>
            <div class="control-wrap">
                <h4>Peace Blog Yönetim Girişi</h4>
                <div class="control-group">
                    <div class="controls">
                        <div class="input-prepend">
                            <span class="add-on"><i class="icon-user"></i></span>
                            @Html.TextBoxFor(p => p.EMail, new { placeholder = Html.DisplayNameFor(p => p.EMail) })
                        </div>
                    </div>
                </div>
                <div class="control-group">
                    <div class="controls">
                        <div class="input-prepend">
                            <span class="add-on"><i class="icon-key"></i></span>
                            @Html.PasswordFor(p => p.Password, new { placeholder = Html.DisplayNameFor(p => p.Password) })
                        </div>
                        <div class="mtop10">
                            <div class="block-hint pull-left small">
                                @Html.CheckBoxFor(p => p.RememberMe) Beni Hatırla
                            </div>
                            <div class="block-hint pull-right">
                                <a href="javascript:;" class="" id="forget-password">Şifremi Unuttum</a>
                            </div>
                        </div>

                        <div class="clearfix space5"></div>
                    </div>

                </div>
            </div>

            <input type="submit" id="login-btn" class="btn btn-block login-btn" value="Giriş" />
        }
        <!-- END LOGIN FORM -->
        <!-- BEGIN FORGOT PASSWORD FORM -->
        @using (Html.BeginForm("ForgetPassword", "BlogAdmin", FormMethod.Post, new { @class = "form-vertical no-padding no-margin hide" }))
        {
            <p class="center">Şifrenizi Sıfırlamak İçin E-Mail Adresinizi Giriniz!</p>
            <div class="control-group">
                <div class="controls">
                    <div class="input-prepend">
                        <span class="add-on"><i class="icon-envelope"></i></span>
                        @Html.TextBoxFor(p => p.EMail, new { placeholder = Html.DisplayNameFor(p => p.EMail) })
                    </div>
                </div>
                <div class="space20"></div>
            </div>
            <input type="button" id="forget-btn" class="btn btn-block login-btn" value="Gönder" />
        }
        <!-- END FORGOT PASSWORD FORM -->
    </div>
    <!-- END LOGIN -->
    <!-- BEGIN COPYRIGHT -->
    <div id="login-copyright">
        2015 &copy; <a href="http://barisceviz.com/peaceblog">Peace Blog</a>
    </div>
    <!-- END COPYRIGHT -->
    <!-- BEGIN JAVASCRIPTS -->
    <script src="~/Templates/Admin/js/jquery-1.8.3.min.js"></script>
    <script src="~/Templates/Admin/assets/bootstrap/js/bootstrap.min.js"></script>
    <script src="~/Templates/Admin/js/jquery.blockui.js"></script>
    <script src="~/Templates/Admin/js/scripts.js"></script>
    <script>
        jQuery(document).ready(function () {
            App.initLogin();
        });
    </script>
    <!-- END JAVASCRIPTS -->
</body>
<!-- END BODY -->
</html>